package com.skirmisher.inspection.conform.entity;

import java.util.Date;
import java.util.List;

import com.skirmisher.inspection.common.entity.InsLoop;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 日常巡查基准模板
 */
@Data
public class InsConformTemplate {
	/** 主键 */
	@ApiModelProperty("主键")
	private String id;
	/** 模板名称 */
	@ApiModelProperty("模板名称")
	private String tempName;
	/** 模板编码 */
	@ApiModelProperty("模板编码")
	private String tempCode;
	/** 模板备注（默认作为巡查的任务） */
	@ApiModelProperty("模板备注（默认作为巡查的任务）")
	private String tempDesc;
	/** 巡查地点经度坐标 */
	@ApiModelProperty("巡查地点经度坐标")
	private Double insPlaceLongitude;
	/** 巡查地点维度坐标 */
	@ApiModelProperty("巡查地点维度坐标")
	private Double insPlaceLatitude;
	/** 巡查计划用时（H） */
	@ApiModelProperty("巡查计划用时（H）")
	private Double insPlanUseTime;
	/** 巡查负责人工号 */
	@ApiModelProperty("巡查负责人工号")
	private String insLeaderCode;
	/** 巡查负责人姓名 */
	@ApiModelProperty("巡查负责人姓名")
	private String insLeaderName;
	/** 模板状态 0：待启用1：启用中  99：删除 */
	@ApiModelProperty("模板状态 0：待启用1：启用中  99：删除")
	private String tempStatus;
	/** 最后更新时间 */
	@ApiModelProperty("最后更新时间")
	private Date lastUpdateTime;
	/** 最后修改人工号 */
	@ApiModelProperty("最后修改人工号")
	private String lastUpdateWorkerCode;
	/** 最后修改人姓名 */
	@ApiModelProperty("最后修改人姓名")
	private String lastUpdateWorkerName;
	/** 人员绑定类型：temp：绑定模板 time:绑定时间 item：绑定项目 */
	@ApiModelProperty("人员绑定类型：temp：绑定模板 time:绑定时间 item：绑定项目")
	private String workerBindType;
	/** 下次生成时间 */
	@ApiModelProperty("下次生成时间")
	private Date nextExecuteTime;
	/** 创建时间 */
	@ApiModelProperty("创建时间")
	private Date recTime;
	/** 创建人编码 */
	@ApiModelProperty("创建人编码")
	private String recCode;
	/** 创建人名称 */
	@ApiModelProperty("创建人名称")
	private String recName;
	@ApiModelProperty("地点名称")
	private String insPlaceName;

	public void setId(String id) {
		this.id = id;
	}
	
	public String getId() {
		return this.id;
	}
	
	public void setTempName(String tempName) {
		this.tempName = tempName;
	}
	
	public String getTempName() {
		return this.tempName;
	}
	
	public void setTempCode(String tempCode) {
		this.tempCode = tempCode;
	}
	
	public String getTempCode() {
		return this.tempCode;
	}
	
	public void setTempDesc(String tempDesc) {
		this.tempDesc = tempDesc;
	}
	
	public String getTempDesc() {
		return this.tempDesc;
	}
	
	public void setInsPlaceLongitude(Double insPlaceLongitude) {
		this.insPlaceLongitude = insPlaceLongitude;
	}
	
	public Double getInsPlaceLongitude() {
		return this.insPlaceLongitude;
	}
	
	public void setInsPlaceLatitude(Double insPlaceLatitude) {
		this.insPlaceLatitude = insPlaceLatitude;
	}
	
	public Double getInsPlaceLatitude() {
		return this.insPlaceLatitude;
	}
	
	public void setInsPlanUseTime(Double insPlanUseTime) {
		this.insPlanUseTime = insPlanUseTime;
	}
	
	public Double getInsPlanUseTime() {
		return this.insPlanUseTime;
	}
	
	public void setInsLeaderCode(String insLeaderCode) {
		this.insLeaderCode = insLeaderCode;
	}
	
	public String getInsLeaderCode() {
		return this.insLeaderCode;
	}
	
	public void setInsLeaderName(String insLeaderName) {
		this.insLeaderName = insLeaderName;
	}
	
	public String getInsLeaderName() {
		return this.insLeaderName;
	}
	
	public void setTempStatus(String tempStatus) {
		this.tempStatus = tempStatus;
	}
	
	public String getTempStatus() {
		return this.tempStatus;
	}
	
	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}
	
	public Date getLastUpdateTime() {
		return this.lastUpdateTime;
	}
	
	public void setLastUpdateWorkerCode(String lastUpdateWorkerCode) {
		this.lastUpdateWorkerCode = lastUpdateWorkerCode;
	}
	
	public String getLastUpdateWorkerCode() {
		return this.lastUpdateWorkerCode;
	}
	
	public void setLastUpdateWorkerName(String lastUpdateWorkerName) {
		this.lastUpdateWorkerName = lastUpdateWorkerName;
	}
	
	public String getLastUpdateWorkerName() {
		return this.lastUpdateWorkerName;
	}
	
	public void setWorkerBindType(String workerBindType) {
		this.workerBindType = workerBindType;
	}
	
	public String getWorkerBindType() {
		return this.workerBindType;
	}
	
	public void setNextExecuteTime(Date nextExecuteTime) {
		this.nextExecuteTime = nextExecuteTime;
	}
	
	public Date getNextExecuteTime() {
		return this.nextExecuteTime;
	}
	
	public void setRecTime(Date recTime) {
		this.recTime = recTime;
	}
	
	public Date getRecTime() {
		return this.recTime;
	}
	
	public void setRecCode(String recCode) {
		this.recCode = recCode;
	}
	
	public String getRecCode() {
		return this.recCode;
	}
	
	public void setRecName(String recName) {
		this.recName = recName;
	}
	
	public String getRecName() {
		return this.recName;
	}


	@ApiModelProperty("循环周期")
	private List<InsLoop> loops;

	@ApiModelProperty("巡检项目")
	private List<InsConformTemplateItems> items;

	@ApiModelProperty("巡查人员")
	private List<InsConformWorker> workers;

	public List<InsLoop> getLoops() {
		return loops;
	}

	public void setLoops(List<InsLoop> loops) {
		this.loops = loops;
	}

	public List<InsConformTemplateItems> getItems() {
		return items;
	}

	public void setItems(List<InsConformTemplateItems> items) {
		this.items = items;
	}

	public List<InsConformWorker> getWorkers() {
		return workers;
	}

	public void setWorkers(List<InsConformWorker> workers) {
		this.workers = workers;
	}
}